#ifndef _SINGLETON_H_
#define _SINGLETON_H_

namespace Medved
{

template <class T>
class Singleton
{
	// dot not create it
	Singleton();
public:
	// kinda Meyers singleton
	static T& instance()
	{
		static T theInstance;
		return theInstance;
	};
};

}

#endif
